<template>
  <div>
    <!-- nav -->

    <!-- tabbar -->
    <van-tabbar v-model="active">
      <van-tabbar-item icon="wap-home" to="/home">首页</van-tabbar-item>
      <van-tabbar-item icon="search" to="/search">发现</van-tabbar-item>
      <van-tabbar-item icon="description" to="/order">订单</van-tabbar-item>
      <van-tabbar-item icon="manager-o" to="/user">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  data() {
      return {
        active: this.$store.state.active
      }
  },
  methods: {
  }
}
</script>

<style lang="less" scoped>

</style>
